package com.nuoniu.sibanyun.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.math.BigDecimal;

@Data
@ApiModel("未完工 加工单的 物料明细 ")
public class UnFinishInventoryDetailVo {

    @ApiModelProperty(value = "委外加工单号")
    private String voucherCode;

    @ApiModelProperty(value = "产品ID")
    private Integer productionInventoryId;

    @ApiModelProperty(value = "产品名称")
    private String productionInventoryName;

    @ApiModelProperty(value = "产品编码")
    private String productionInventoryCode;

    @ApiModelProperty(value = "产品规格型号")
    private String productionInventorySpecification;

    @ApiModelProperty(value = "材料ID")
    private Integer inventoryId;

    @ApiModelProperty(value = "材料名称")
    private String inventoryName;

    @ApiModelProperty(value = "材料编码")
    private String inventoryCode;

    @ApiModelProperty(value = "材料规格型号")
    private String inventorySpecification;

    @ApiModelProperty(value = "主计量ID")
    private Integer baseUnit;

    @ApiModelProperty(value = "主计量名称")
    private String baseUnitName;

    @ApiModelProperty(value = "计划数量")
    private BigDecimal plannedQuantity;

    @ApiModelProperty(value = "累计领用数量")
    private BigDecimal cumPickQuantity;

    @ApiModelProperty(value = "可领用数量")
    private BigDecimal availablePickQuantity;

    @ApiModelProperty(value = "累计补料数量")
    private BigDecimal cumRepairQuantity;

    @ApiModelProperty(value = "累计退货数量")
    private BigDecimal cumRetQuantity;

    @ApiModelProperty(value = "可退数量")
    private BigDecimal availableRetQuantity;

    @ApiModelProperty(value = "单计量ID")
    private Integer unitId;

    @ApiModelProperty(value = "计量单位组ID")
    private Integer unitGroupId;

    @ApiModelProperty(value = "辅计量")
    private Integer subUnit;

    @ApiModelProperty(value = "辅计量名称")
    private String subUnitName;

    @ApiModelProperty(value = "计划数量(辅)")
    private BigDecimal subPlannedQuantity;

    @ApiModelProperty(value = "累计领用数量(辅)")
    private BigDecimal subCumPickQuantity;

    @ApiModelProperty(value = "可领用数量(辅)")
    private BigDecimal subAvailablePickQuantity;

    @ApiModelProperty(value = "累计补料数量(辅)")
    private BigDecimal subCumRepairQuantity;

    @ApiModelProperty(value = "累计退货数量(辅)")
    private BigDecimal subCumRetQuantity;

    @ApiModelProperty(value = "可退数量(辅)")
    private BigDecimal subAvailableRetQuantity;


    @ApiModelProperty(value = "来源加工单ID")
    private Integer sourceProductionWorkId;

    @ApiModelProperty(value = "加工单-明细ID")
    private Integer productionWorkDetailId;

    @ApiModelProperty(value = "来源材料明细ID")
    private Integer sourceWorkInventoryDetailId;
}
